package org.zjvis.datascience.service.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface SqlMapper {
    void createDatabase(@Param("database") String database);

    void deleteDatabase(@Param("database") String database);

    void createUser(@Param("username") String username, @Param("password") String password);

    void deleteUser(String username);

    void granDatabaseToUser(@Param("database") String database, @Param("username") String username);

}
